<?php

namespace app\admin\controller;

use app\common\model\Upload as UploadModel;
use think\facade\Filesystem;
use think\Request;


class Upload extends Controller
{
    protected function initialize()
    {
        parent::initialize();
    }

    /**
     * 上传图片
     */
    public function image()
    {
        $model = new UploadModel;
        return $model->image();
    }
}
